package model.structs;

/**
 * A location in the game. Examples of locations are the bank, the airport, or a drug trafficking
 * location.
 *
 * @author rhaq
 * @version 1.00 2009-05-09 Initial submission.
 */
public class Location
{
	/** The name of this location. */
	private String name;


	/**
	 * Creates a location with the specified name.
	 * @param name The name of this location.
	 */
	public Location(String name)
	{
		this.name = name;
	}


	/**
	 * Retrieves the name of this location.
	 * @return The name of this location.
	 */
	public String getName()
	{
		return name;
	}
}